package com.jvm123.meilisearch.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * @author yawn http://jvm123.com
 * 2020/1/15 15:55
 */
@Configuration
@ConfigurationProperties(prefix = "meilisearch")
public class MeillisearchProperties {

    private String hostUrl = "http://localhost:7700";
    private String apiKey = "";

    public String getHostUrl() {
        return hostUrl;
    }

    public void setHostUrl(String hostUrl) {
        this.hostUrl = hostUrl;
    }

    public String getApiKey() {
        return apiKey;
    }

    public void setApiKey(String apiKey) {
        this.apiKey = apiKey;
    }

}
